Upload a chunk of the document to the global cache.
Public Shared Sub UploadDocument(
ByVal uri As System.Uri,
ByVal data() As Byte,
ByVal offset As Integer,
ByVal length As Integer
)
uri
The temporary document URL. This must be the same value returned from BeginUpload and cannot be
null.
data
Current chunk of data. The factory will length number of bytes from this chunk starting at offset.
offset
Offset into data where to data begins.
length
Number of bytes to upload.
This method will call UploadDocument(DocumentFactory.Cache, ...) and therefore will throw an exception if Cache was not setup.
BeginUpload, UploadDocument and AbortUploadDocument can be used to upload a document in chunks to the cache used by this DocumentFactory. After the document is uploaded, you can use LoadFromUri to create a Document object from the data.
Refer to Uploading Using the Documents Library for detailed information on how to use these methods and the various options used.
For an example, refer to BeginUpload
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET